package com.lrkj.payfee.service;

import java.util.List;
import com.lrkj.payfee.domain.RoomBalance;
import com.lrkj.common.core.service.BaseService;
import com.lrkj.payfee.vo.RoomBalanceListVo;

/**
 * 账户余额Service接口
 *
 * @author yajun_ren
 * @date 2022-07-25
 */
public interface IRoomBalanceService extends BaseService<RoomBalance>
{
    /**
     * 查询账户余额
     *
     * @param id 账户余额ID
     * @return 账户余额
     */
    public RoomBalance selectRoomBalanceById(String id);

    /**
     * 查询账户余额列表
     *
     * @param roomBalance 账户余额
     * @return 账户余额集合
     */
    public List<RoomBalance> selectRoomBalanceList(RoomBalance roomBalance);


    public RoomBalance selectRoomBalance(RoomBalance roomBalance);
    List<RoomBalanceListVo> selectRoomBalanceByNodeList(RoomBalanceListVo roomBalanceListVo);

    /**
     * 新增账户余额
     *
     * @param roomBalance 账户余额
     * @return 结果
     */
    public int insertRoomBalance(RoomBalance roomBalance);

    /**
     * 修改账户余额
     *
     * @param roomBalance 账户余额
     * @return 结果
     */
    public int updateRoomBalance(RoomBalance roomBalance);

    /**
     * 批量删除账户余额
     *
     * @param ids 需要删除的账户余额ID
     * @return 结果
     */
    public int deleteRoomBalanceByIds(String[] ids);

    /**
     * 删除账户余额信息
     *
     * @param id 账户余额ID
     * @return 结果
     */
    public int deleteRoomBalanceById(String id);
}
